
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico">
     <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
      <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
</head>

<body style="color:#333;padding:3px;">
    <div style="padding:10px">
   
      <form action="#" method="post" id="form_check" accept-charset="utf-8" class="form-inline">
          <table class="table table-bordered bud_hei">
              <tr>
                <td style="width: 160px;" rowspan="2">拜访人 <span class="colorRed">*</span></td>
                <td>
                      <div class="form-group">
                     <div class="input-group">
                            <input id="area_id" type="text" placeholder="请输入关键字或空格查询"
                                   class="form-control" value="" style="min-width: 300px;width: 300px">
                            <div class="input-group-btn">
                                <ul class="dropdown-menu dropdown-menu-right" role="menu">
                                </ul>
                            </div>
                        </div>
                    </div>
                    <a href="javascript:;" id="select_area" class="btn btn-primary btn-sm">选择</a>
                </td>
              </tr>
              <tr>
                <td id="bfman"></td>
              </tr>
              <tr>
                <td>网点月拜访目标数：<span class="colorRed">*</span></td>
                <td><input type="text" name="" class="form-control" id="netbfaim"></td>
              </tr>
               <tr>
                <td>经销商月拜访目标数：<span class="colorRed">*</span></td>
                <td><input type="text" name="" class="form-control" id="agencybfaim"></td>
              </tr>
              <tr>
                <td colspan="2" class="text-center"><button class="btn btn-sm btn-success" type="button" id="save">保存</button></td>
              </tr>
          </table>  
        
      </form>
     
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="__STATIC__/layout/js/plugins/suggest/bootstrap-suggest.min.js"></script>
<script src="__STATIC__/layout/js/common.js"></script>
<script>
    $(document).ready(function(){
      $("#save").click(function(){

         if($("#bfman").text()==''){
          sweetAlert("","请选择拜访人","error")
         }else if($("#netbfaim").val()==""){
             sweetAlert("","网点月拜访目标数不能为空","error")
         }else if($("#agencybfaim").val()==""){
             sweetAlert("","经销商月拜访目标数不能为空","error")
         }else{
          return false;
         }
      })
    })
</script>
</body>

</html>
